<?php

namespace App\Model;

use App\Model\Traits\Common;
use Illuminate\Database\Eloquent\Model;
use Laravel\Scout\Searchable;
use Spatie\Activitylog\Traits\LogsActivity;

class Topic extends Model
{
    use Common;
    use LogsActivity;
    use Searchable;
    protected static $logFillable=true;
    protected static $recordEvents=['saved','updated'];
    protected static $logName='topic';
//    protected $guarded=['column_title','editormd-html-code'];
protected $fillable=['title','content','column_id','user_id',];
}
